import request from '@/utils/request';

export function getMemberList(params) {
	return request({
		url: '/employee/page',
		method: 'get',
		params: params
	})
}

export function getEmployeeById(params) {
	return request({
		url: '/employee',
		method: 'get',
		params: params
	})
}

export function addEmployee(params) {
	return request({
		url: '/employee/addEmployee',
		method: 'post',
		data: params
	})
}

export function editEmployee(params) {
	return request({
		url: '/employee',
		method: 'put',
		data: params
	})
}

export function updateStatusById(params) {
	return request({
		url: '/employee/updateStatusById',
		method: 'put',
		params: params
	})
}